package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.EquipmentMaintenance;

/**
 * 维保记录Service接口
 * 
 * @author ruoyi
 * @date 2020-07-17
 */
public interface IEquipmentMaintenanceService 
{
    /**
     * 查询维保记录
     * 
     * @param id 维保记录ID
     * @return 维保记录
     */
    public EquipmentMaintenance selectEquipmentMaintenanceById(Long id);

    /**
     * 查询维保记录列表
     * 
     * @param equipmentMaintenance 维保记录
     * @return 维保记录集合
     */
    public List<EquipmentMaintenance> selectEquipmentMaintenanceList(EquipmentMaintenance equipmentMaintenance);
    public List<EquipmentMaintenance> selectEquipmentMaintenanceListByType(EquipmentMaintenance equipmentMaintenance);

    /**
     * 新增维保记录
     * 
     * @param equipmentMaintenance 维保记录
     * @return 结果
     */
    public int insertEquipmentMaintenance(EquipmentMaintenance equipmentMaintenance);

    /**
     * 修改维保记录
     * 
     * @param equipmentMaintenance 维保记录
     * @return 结果
     */
    public int updateEquipmentMaintenance(EquipmentMaintenance equipmentMaintenance);

    /**
     * 批量删除维保记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteEquipmentMaintenanceByIds(String ids);

    /**
     * 删除维保记录信息
     * 
     * @param id 维保记录ID
     * @return 结果
     */
    public int deleteEquipmentMaintenanceById(Long id);
}
